home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / msoftapp.zip / HELLO.H < prev    next >
C/C++ Source or Header  |  1993-06-01  |  780b  |  33 lines

  1. // hello.h : Declares the class interfaces for the Hello child window.
  2.  
  3. #ifndef __HELLO_H__
  4. #define __HELLO_H__
  5.  
  6. class CHelloWin : public CMDIChildWnd
  7.     {
  8.     short m_ColorID;
  9.     COLORREF m_TextColor;
  10.     CMenu* m_pMenuCurrent;
  11.     BOOL m_bWindowActive;
  12.  
  13. public:
  14.     BOOL Create(LPCSTR szTitle, 
  15.                 DWORD style = (WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW),
  16.                 const RECT& rect = rectDefault,
  17.                 CMDIFrameWnd* pParent = NULL);
  18.     CHelloWin();
  19.     virtual ~CHelloWin();
  20.  
  21.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  22.     afx_msg void OnDestroy();
  23.     afx_msg void OnPaint();
  24.     afx_msg void OnMDIActivate(BOOL bActivate,
  25.                     CWnd* pActivateWnd, CWnd* pDeactivateWnd);
  26.  
  27.     afx_msg void OnColor();
  28.     DECLARE_MESSAGE_MAP()
  29.     };
  30.  
  31. #endif // __HELLO_H__
  32.  
  33.